import { NgModule, Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { IonicModule } from '@ionic/angular';
import { FooterLogoComponent } from './../coms/footer-logo/footer-logo.component';
import { AppAnchorDirective } from '../route/entry/anchor.directive';
import { AppScrollAnchorDirective } from '../route/entry/anchorScroll.directive';
import { ComsComponent } from '../route/entry/coms.component';
import { FooterComsComponent } from '../route/entry/footercoms.component';
import { HeaderComsComponent } from '../route/entry/headercoms.component';
import { SecondComsComponent } from '../route/entry/secondComs.component';
import { AppSubTabAnchorDirective } from '../route/entry/subAnchor.directive';
import { NavOneComponent } from '../route/entry/nav-one/nav-one.component';
import { NgZorroAntdMobileModule } from 'ng-zorro-antd-mobile';
import { ComsModule } from '../coms/coms.module';
// import { TimesGapPipe } from './pipe/times-gap.pipe';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    ComsModule,
    NgZorroAntdMobileModule
  ],
  declarations: [
    AppAnchorDirective,
    AppScrollAnchorDirective,
    SecondComsComponent,
    FooterComsComponent,
    HeaderComsComponent,
    NavOneComponent,
    FooterLogoComponent,
    AppSubTabAnchorDirective,
    ComsComponent,
  ],
  exports: [
    AppAnchorDirective,
    AppScrollAnchorDirective,
    SecondComsComponent,
    FooterComsComponent,
    HeaderComsComponent,
    NavOneComponent,
    FooterLogoComponent,
    AppSubTabAnchorDirective,
    ComsComponent,
  ]
})
export class SharedModule { }
